<template>
  <ex_select_auto :value="value" :url="$url['print/selectSimplePrintTemplate']" @input="input" :clearable="clearable"
  :placeholder="$t('tip_please_select_any', { any: $t('label_print_template') })"
    :option="(e) => ({ label: `${e.templateName} [${e.pageWidth}*${e.pageHeight}]`, value: e['id'] })"
    :urlParams="{ refType: businessType }" storeData />
</template>

<script>

export default {
  props: {
    value: null,
    businessType: null,
    clearable: {
      type: Boolean,
      default: false,
    },
  },
  computed: {
  },
  methods: {
    input(e) {
      this.$emit('input', e)
    },
  },
}
</script>
